#ifndef __LIB_AGORA_ADMIN_TOOLS_H__
#define __LIB_AGORA_ADMIN_TOOLS_H__

#include <string>
#include <stdlib.h>

namespace AgoraAdmin
{

	class	Tools
	{
	public:
		static	std::string			UrlEncodeString(const std::string& decoded);
		static	std::string			UrlDecodeString(const std::string& encoded);
	private:
		static	int					UrlEncode(const char *source, char *dest, unsigned max);
		static	int					UrlDecode(const char *source, char *dest);
		static	int					HexPairValue(const char * code);
	};

}

#endif
